class Util:
    @staticmethod
    def getId(obj):
        return obj is not None and int(id(obj) & 0xffff)  or 0
